<?php
/**
 ***** 扶摇而上、抱守本真 ******
 * @author Dana
 * @Date 2021/6/22
 */

class Tweet{
    protected $data;

    public function from($from)
    {
        $this->data['from'] = $from;
        return $this;
    }

    public function withStatus($status)
    {
        $this->data['withStatus'] = $status;
        return $this;
    }

    public function inReplyTold($id)
    {
        $this->data['id'] = $id;
        return $this;
    }

    public function send()
    {
        return $this;
    }


}

$tweet = new Tweet();
$ids = $tweet->from('summer@qq.com')
    ->withStatus('shipping')
    ->send();

var_dump($ids);